<!DOCTYPE html 
		 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
		 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
		dir="{% if LANGUAGE_BIDI %}rtl{% else %}ltr{% endif %}"
		xml:lang="{% firstof LANGUAGE_CODE 'en' %}"
		lang="{% firstof LANGUAGE_CODE 'en' %}">
<head>
<title>{% block title %}{% endblock %} - Econoplot</title>
{% block css %}
<link rel="stylesheet" type="text/css" href="/media/css/econoplot.css" />
<link rel="stylesheet" type="text/css" href="/media/css/forms.css" />
<link rel="stylesheet" type="text/css" href="/media/css/3col.css" />
{% endblock %}
<link rel="stylesheet" type="text/css" href="/media/css/ui-lightness/jquery-ui-1.8.custom.css" />
<script type='text/javascript' src='http://www.google.com/jsapi'></script>
<script type='text/javascript' src='/media/js/chart.js'></script>
<script type='text/javascript' src='/media/js/jquery.js'></script>
<script type='text/javascript' src='/media/js/jquery-ui-1.8.custom.min.js'></script>
{% block head %}{% endblock %}
</head>
<body>
{% block header %}
<div class="header">
	<a class="plain" href="/">econoplot</a>
	<div class="subtitle">a charting tool for economic data</div>
	<div class="menu">
		<a href="/econoplot/">charts</a> 
		<a href="/collection/">collections</a> 
		<a href="/news/">news</a> 
		<a href="/about/">about</a>
	</div>
</div>
<div class="accountMenu">
	{% if user %}
		Welcome, {{ user.display_name }}!
		<a class="plain" href="{% url django.contrib.auth.views.logout %}">Logout</a>
		{% if is_admin %} | <a class="plain" href="/admin/">Admin</a>{% endif %}
	{% else %}
		<a class="plain" href="{% url django.contrib.auth.views.login %}">Login</a>
		<a class="plain" href="http://google.com/">Register</a>
	{% endif %}
</div>
{% endblock %}
{% block content %}{% endblock %}
<div class="footer bodytext">
Copyright 2010 Econoplot.<br />Time-series data belongs to respective sources.
</div>
</body>
</html>
